package org.example.cloud.others.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class VX {

    public static String token;
    public static String appID;
    public static String appsecret;

    @Value("${vx.token}")
    public void setToken(String token) {
        VX.token = token;
    }

    @Value("${vx.appID}")
    public void setAppID(String appID) {
        VX.appID = appID;
    }

    @Value("${vx.appsecret}")
    public void setAppsecret(String appsecret) {
        VX.appsecret = appsecret;
    }
}
